package cn.zzp.user.mapper;

import cn.zzp.basic.mapper.BaseMapper;
import cn.zzp.user.domain.LoginInfo;
import cn.zzp.user.dto.LoginDto;

/**
 * @ClassName ShopMapper
 * @Description
 * @Author 祝志鹏
 * @Date 2022/7/14 13:19
 */
public interface LoginInfoMapper extends BaseMapper<LoginInfo> {

    LoginInfo queryByDto(LoginDto loginDto);

    /**
     * 根据userId查询数据
     * @param user_id
     * @return
     */
    LoginInfo queryByUserId(Long user_id);
}
